home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Languguage OS 2
/
Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO
/
gnu
/
bash_114.zip
/
bash-1.14.2
/
support
/
srcdir
< prev
next >
Wrap
Text File
|
1994-08-05
|
246b
|
14 lines
#! /bin/sh
#
# srcdir - print out the absolute pathname of the top of the bash source
# tree. Used for getting the right value to makes in subdirectories
#
case "$1" in
'.'|./) pwd ;;
./*|..*) echo `pwd`/"$1" ;;
*) echo "$1" ;;
esac
exit 0